<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>AngluarJS双向数据绑定</title>
		<script type="text/javascript" src="../js/angular.min.js"></script>
	</head>
	<!--ng-app s是angular 编程入口,是模块作用域  -->
	<body ng-app>
		<div >
			<!--ng-model模型作用  将数据关联到model指定的模型中-->
			<input type="text" name="name" ng-model="name" />
		</div>
		<div>
			hello,{{name}}
		</div>
		<div>
			hello<input type="text" ng-bind />
		</div>
	</body>
</html>
